import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {Router, RouterModule} from '@angular/router';
// import {PermissionsRouting} from './permissions.routing';
import {routing} from './permissions.routing';
import {AccountComponent} from './account/account.component';
import {RoleComponent} from './role/role.component';
import {FormsModule} from '@angular/forms';
import {PaginationModule, Ng2BootstrapModule} from 'ngx-bootstrap';
import {RoleService} from '../../lib/service/admin/role.service';
import {NotificationModule} from '../../comm-components/notification/notification.module';
import {PermissionComponent} from './permission/permission.component';
import {CategoryComponent} from './category/category.component';
import {PTreeComponent} from './p-tree/p-tree.component';
import {PTreeNodeComponent} from './p-tree-node/p-tree-node.component';
import {NgZorroAntdModule} from "ng-zorro-antd";
import {UploadModule} from "../upload/upload.module";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    // PermissionsRouting,
    routing,
    NotificationModule,
    Ng2BootstrapModule,
    NgZorroAntdModule.forRoot(),
    PaginationModule.forRoot(),
    UploadModule,
  ],
  declarations: [
    AccountComponent,
    RoleComponent,
    PermissionComponent,
    CategoryComponent,
    PTreeComponent,
    PTreeNodeComponent
  ],
  providers: [
    RoleService
  ]
})
export class PermissionsModule {

}
